package com.niiwoo.civet.user.dao.mapper;

import com.niiwoo.civet.user.dao.entity.UserCreditInfo;
import org.apache.ibatis.annotations.Param;

public interface UserCreditInfoMapperExt extends UserCreditInfoMapper{

    UserCreditInfo selectByUserIdAndType(@Param("userId") String userId, @Param("creditType") Byte creditType);

    int updateByUserIdAndType(UserCreditInfo userCreditInfo);

}